package com.rimi.service;

import com.rimi.bean.User;
import com.rimi.bean.UserExample;

import java.util.List;

/**
 * @program: Ecsystem
 * @Date: 2018/9/28 14:51
 * @Author: Mr.GuoQiang
 * @Description:
 */
public interface UserService {

    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    //    List<User> selectByExample(UserExample example);
    List<User> selectByExample();

    User selectByPrimaryKey(Integer id);
    User selectByUsername(String username);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);



}
